package com.bistu.xiong.factory.model.api.account;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by XiongXiaoJun on 2017/12/15.
 */

public class LoginModel implements BaseModel{
    private String phone;
    private String password;

    public LoginModel(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Map<String,String> getMap(){
        Map<String,String> map = new HashMap<>();
        map.put("phone",phone);
        map.put("password",password);
        return map;
    }
}
